package router

import (
	"api-gatway/handler/api"
	"github.com/gin-gonic/gin"
)

func Router() *gin.Engine {

	router := gin.Default()
	router.POST("/longin", api.Login)

	router.POST("/register", api.Register)
	return router
}
